package com.kmzx.one.project.service;

import com.kmzx.one.project.entity.UserRankBuy;
import com.kmzx.one.project.others.dto.FatherInfo;
import com.kmzx.one.project.others.dto.PartnerOutInfo;
import com.kmzx.one.project.others.dto.PartnerReqInfo;
import com.kmzx.one.project.others.dto.UserRankInfo;
import com.kmzx.one.project.others.dto.UserRankMoreInfo;
import com.kmzx.one.project.others.dto.UserRankOutInfo;
import com.kmzx.one.project.others.dto.UserRankUPInfo;

import java.util.List;

public interface UserRanksService extends BaseService {

    UserRankInfo findUserRankTabs(String userId) throws Exception;

    List<UserRankMoreInfo> findTopRankUser(String userId, Integer pageNum, Integer pageSize) throws Exception;

    List<UserRankMoreInfo> findTopRankUserSearch(String userId, String nickName, Integer pageNum, Integer pageSize) throws Exception;

    int doUserRankRelation(String fromUserId, String userId) throws Exception;

    UserRankBuy findUserRankBuy(String orderId);

    FatherInfo findUserFather(String userId);

    UserRankOutInfo findUserRankDetailInfo(String userId, Integer pageNum, Integer pageSize);

    PartnerOutInfo findPartnerInfo(String userId);


    PartnerReqInfo partnerDoAuth(PartnerReqInfo request);

    UserRankUPInfo findUserRankUp(String userId);

    void readRankUpInfo(String userId);

}
